package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class Quantifier {

    private int beginIndex;
    private int endIndex;
    private boolean all;
    private boolean some;
    private boolean any;

    public Quantifier(int beginIndex, int endIndex, boolean all, boolean some, boolean any) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.all = all;
        this.some = some;
        this.any = any;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isAll() {
        return all;
    }

    public boolean isSome() {
        return some;
    }

    public boolean isAny() {
        return any;
    }

}
